<template>
  <div class="">
  	<div class="successImg text-center">
  		<img src="/static/wechat/images/success@2x.png" alt="">
  	</div>
    <div class="successTip text-center">
      手机号绑定成功
    </div>
    <div class="tip text-md">
      正在为您跳转,请耐心等待...
    </div>
  </div>
</template>
<script>
  // import {zgzUser} from'@/controller'
  export default {
    name: 'bindingSuccess',
    data () {
      return {
        msg: 'bindingSuccess'
      }
    },
    mounted(){
      setTimeout(()=>{
        this.$router.push({
          path: `/center`,
        })
      },1000)
      //
      // //更新user info
      // zgzUser().then((data)=>{
      //   console.log(data);
      //   if(data.code === 0){
      //     this.$store.dispatch('setUserInfo',data.data);
      //     setTimeout(()=>{
      //       this.$router.push({
      //         path: `/center`,
      //       })
      //     },1000)
      //   }else{
      //     this.$toast.center('get zgz user error')
      //   }
      // })

    }
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>


</style>
